#include "DungeonCrawl.h"
#include <iostream>
#include <string>
#include <iomanip>
#include "Console.h"
#include <conio.h>
using namespace std;
using namespace Course;

int main()
{
	DungeonCrawl Dungeon;

	Dungeon.MakeDungeon();

	Dungeon.MovePlayer();

	Dungeon.CheckRoom();


	while (1)
	{

		cout << "\n" << "Vill du spela igen? ";
		string a;
		cin >> a;
		if (a == "ja")
		{
			Console::clrscr();
			Dungeon = DungeonCrawl();
			Dungeon.MakeDungeon();
			Dungeon.MovePlayer();
			Dungeon.CheckRoom();
		}

		else
			break;
	}


		

	cin.get();
	return 0;
}